<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // const name = 'fish'
        // localStorage.setItem('name', name)

        // const temp = localStorage.getItem('name')
        // console.log(temp)

        // localStorage.removeItem('name')

        // const obj = {
        //     name : 'fish',
        //     age : 18,
        //     sex : 'man'
        // }
        // localStorage.setItem('obj', JSON.stringify(obj))

        // console.log(localStorage.getItem('obj'))

        // console.log(JSON.parse(localStorage.getItem('obj')))

    </script>
</body>
</html>